package com.fz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fz.entity.Fee;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;
/**
 * <p>
 * 存储水电使用账单信息 服务类
 * </p>
 *
 * @author hyr
 * @since 2025-06-22
 */
public interface FeeService extends IService<Fee> {
    Page<Fee> listByPage(Integer pageNo, Integer pageSize, Long userId, Integer type);
    List<Map<String, Object>> getDailyConsumption(Long userId);
    List<Map<String, Object>> getFeeDistribution(Long userId);
    void generateAndDeductFeeData();
}
